const go/token.IMPORT
18 uses
go/token (current package)
token.go#L113: IMPORT
token.go#L219: IMPORT: "import",
go/ast
import.go#L19: if !ok || d.Tok != token.IMPORT {
import.go#L58: if decl, ok := decl.(*GenDecl); ok && decl.Tok == token.IMPORT {
go/doc
example.go#L57: if g, ok := decl.(*ast.GenDecl); ok && g.Tok != token.IMPORT {
example.go#L297: Tok: token.IMPORT,
reader.go#L576: case token.IMPORT:
go/format
format.go#L120: if !ok || d.Tok != token.IMPORT {
go/parser
parser.go#L448: token.IMPORT: true,
parser.go#L2851: case token.IMPORT:
parser.go#L2907: for p.tok == token.IMPORT {
parser.go#L2908: decls = append(decls, p.parseGenDecl(token.IMPORT, p.parseImportSpec))
parser.go#L2913: prev := token.IMPORT
parser.go#L2916: if p.tok == token.IMPORT && prev != token.IMPORT {
go/printer
printer.go#L742: if p.lastTok != token.IMPORT && // do not rewrite cgo's import "C" comments
go.pact.im/x/plumb/internal/discover
discover.go#L214: if d.Tok == token.IMPORT {
discover.go#L346: if len(gd.Specs) == 0 && gd.Tok != token.IMPORT {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)